package com.ssy.lingxi.search.model.response;

import com.ssy.lingxi.search.api.model.response.CommoditySearchResponse;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 商城的商品收藏列表
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/9/25
 */
@Getter
@Setter
public class CommodityCollectResponse implements Serializable {
    private static final long serialVersionUID = 3470925554360946694L;
    /**
     * 主键id
     */
    private Long id;

    /**
     * 商品id
     */
    private CommoditySearchResponse commodity;

    /**
     * 商城id
     */
    private Long shopId;

    /**
     * 是否上架
     */
    private Boolean isPublish;

    /**
     * 渠道会员id
     */
    private Long channelMemberId;

    /**
     * 渠道会员角色id
     */
    private Long channelMemberRoleId;

    /**
     * 创建时间
     */
    private Long createTime = System.currentTimeMillis();
}
